#include "DinoEngine.h"


DinoEngine::DinoEngine(void)
{
}


DinoEngine::~DinoEngine(void)
{
}

bool DinoEngine::Initialize(int gl_ver, void *nativeWindow)
{
	// init render system
	if(m_displayDevice.Initialize(gl_ver, nativeWindow) == false)
		return false;

	return true;
}

void DinoEngine::Work()
{
	this->m_displayDevice.Render();
}

DisplayDevice_EGL &DinoEngine::GetDisplayDevice()
{
	return this->m_displayDevice;
}

void DinoEngine::Terminate()
{
	this->m_displayDevice.Terminate();
}